<?php
$title = 'Passer votre commande';
$this->headTitle ( $title );
?>
<!--h3 style="text-align: center;"><?php echo $title; ?></h3-->

<div class="col-md-4">
		<div class="panel panel-default" style="height: 390px;">
			<div class="panel-heading">
				<h3 class="panel-title"><?php echo $this->translate('Services administratifs') ?></h3>
			</div>
			<div class="panel-body">
			
			<!-- Services Direction Générale -->
			
				<h5>
					<?php echo $this->translate('Services de la Direction Générale') ?>
				</h5>
				<div>				 	
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Administrateur du service') ?> </I></a> <br>
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Secrétariat') ?> </I></a> <br><br>
				</div>
				
					<!-- Services Direction Financière -->
					
				<h5>
					<?php echo $this->translate('Services de la Direction Financière') ?>
				</h5>
				<div>				 	
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Administrateur du service')?> </I></a> <br>
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Nos tarifs') ?></I></a> <br>
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Paiement en ligne') ?> </I></a> <br><br>
				</div>
				
				<!-- direction technique -->
				
				<h5>
					<?php echo $this->translate('Services de la Direction Technique') ?>
				</h5>
							
				<div>				 	
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Administrateur du service') ?> </I></a> <br>
	 				<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Services après vente') ?> </I></a> <br>
	 					<img src="<?php echo $this->basePath('img/puce3.png') ?> "/>
	 					<a href="#"><I><?php echo $this->translate('Maintenance des équipements') ?> </I></a> <br><br>
	 				
				</div>
			</div>
			
		</div>
</div>

<div class="col-md-4" style="width: 595px;padding-right: 0;">
		<div class="panel panel-default" style="width: 713px;">
			<div class="panel-heading">
				<h3 class="panel-title"><?php echo $this->translate('Commande en ligne') ?></h3>
			</div>
			<div class="panel-body">
				<!--h5 style="background-color: #008080;color:white;">
					<?php echo $this->translate('Passer votre commande en ligne') ?>
				</h5-->
				<div class="form" style="float: left;border: 1px solid #6BBCEB;margin-right: 13px;width: 691px;">	
		
					<?php
					if (! (isset ( $resultat ) && $resultat == 1)) {
						$form = $this->form;
						// $form->setAttribute('action', $this->url('/services'));
						$form->setAttribute ( 'action', $this->url ( 'commande', array (
								'action' => 'commande' 
						) ) );
			
						$form->prepare ();
	
						echo $this->form ()->openTag ( $form );
						echo $this->formRow ( $form->get ( 'nom' ) );
						echo $this->formRow ( $form->get ( 'prenom' ) );
						echo $this->formRow ( $form->get ( 'entreprise' ) );
						echo $this->formRow ( $form->get ( 'email' ) );
						echo $this->formRow ( $form->get ( 'telephone' ) );
						echo $this->formRow ( $form->get ( 'type_commande' ) );
						echo $this->formRow ( $form->get ( 'message' ) );
						//echo $this->formRow ( $form->get ( 'captcha' ) );
						//echo $this->formRow ( $form->get ( 'security' ) );
						echo '<br><br>';
						echo $this->formRow ( $form->get ( 'submit' ) );
						echo $this->form ()->closeTag ();
						} else {
						
							echo '<div style="margin-left:25px;">Votre message &#224; &#233;t&#233; bien envoy&#233; <br>';
							echo 'Nous vous contacterons plus tard.<br><br> ';
							echo "Cliquez <a href='/lamisa.burundi/public/'>ici </a> pour revenir &#224; la page d&#146;ccueil.</div>";
						}
						echo '<br>';
					?>
					
					<br>
		
				</div>
			</div>
		</div>
</div>
